package com.itheima.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.bean.Setmeal;
import com.itheima.dto.SetmealDto;

import java.util.List;

public interface SetmealService extends IService<Setmeal> {
    void saveWithDish(SetmealDto setmealDto);

    Page<SetmealDto> findPage(Integer page, Integer pageSize, String name);

    void deleteByIds(List<Long> ids);

    void updateSetmeal(Integer status, List<Long> ids);

    SetmealDto getByIdWithSetmeal(Long id);

    void updateWithSetmeal(SetmealDto setmealDto);
}
